<template>
	<view class="success">
		<view class="top">
			<image src="../../static/success.png" class="icon" mode=""></image>
			<view class="result">发布成功</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				config: uni.getStorageSync('config'),
				id: '',
				goods_id: '',
				status: ''
			};
		},
		onLoad(options) {
			console.log(options)
			this.id = options.id
			this.goods_id = options.goods_id
			this.status = options.status
		},
		methods:{
			index() {
				uni.switchTab({
				    url: '/pages/index/index'
				});
			},
			my() {
				uni.switchTab({
				    url: '/pages/my/my'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
.success{
	.top{
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 20rpx;
		.icon{
			width: 188rpx;
			height: 197rpx;
			margin-bottom: 20rpx;
		}
		.result{
			font-size: 40rpx;
			color: #333;
			margin-bottom: 10rpx;
		}
		
	}
	
	
}
</style>
